<template>
  <van-nav-bar
    title="登陆"
    left-text="返回"
    left-arrow
    @click-left="onClickLeft"
  />
</template>

<script>
import { NavBar } from 'vant'

export default {
  name: 'login-header',
  computed: {
  },
  methods: {
    onClickLeft () {
      this.$router.go(-1)
    }
  },
  components: {
    [NavBar.name]: NavBar
  }
}
</script>

<style scoped>
</style>
